<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="ChangePassword" Title="Change Password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" cellpadding="10" style="margin: 10px auto;">
    <tr>
        <td colspan="3">
            <h3 id="title">Change your password</h3>
        </td>
    </tr>
    <tr>
        <td style="font-weight: bold; font-family: Verdana" align="right">
            Enter old password:
        </td>
        <td>
            <asp:TextBox runat="server" ID="txtOldPass" TextMode="Password" />
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RfOldpass" runat="server" ControlToValidate="txtOldPass" ErrorMessage="Input Old Password !" />
        </td>
    </tr>
    <tr>
        <td style="font-weight: bold; font-family: Verdana" align="right">
            Enter new password:
        </td>
        <td>
            <asp:TextBox runat="server" ID="txtNewPass" TextMode="Password" />
        </td>
        <td>
            <asp:RequiredFieldValidator ID="RfNewpass" runat="server" ControlToValidate="txtNewPass" ErrorMessage="Input New Password !" />
        </td>
    </tr>
    <tr>
        <td style="font-weight: bold; font-family: Verdana" align="right">
            Re-type new password:
        </td>
        <td>
            <asp:TextBox runat="server" ID="txtRetypePass" TextMode="Password" />
        </td>
        <td>
            <asp:Label ID="lblComparePass" runat="server" ForeColor="red"/>
        </td>        
    </tr>
   
    <tr>
        <td colspan="3" align="center">
            <asp:Button runat="server" ID="btnChange" Text="Change" Width="100" Font-Bold="true" OnClick="btnChange_Click"/>
            <asp:Button runat="server" ID="btnCancel" Text="Cancel" Width="100" Font-Bold="true" CausesValidation="False" OnClick="btnCancel_Click"/>
        </td>
    </tr>
     <tr>
        <td colspan="3" align="center">
            <asp:Label runat="server" ID="lblError" ForeColor="red" />
        </td>
    </tr>
</table>
</asp:Content>

